package com.aifast.common.global;

/**
 * @author 符健
 *
 * 系统常用参数类
 */
public class Const {

    public final static String EMPTY = "";
    public final static String NULL = null;
    public final static String SYMBOL_UNDERLINE = "_";
    public final static String SYMBOL_COLON = ":";
    public final static String SYMBOL_MOBILE = "****";
    public final static String SYMBOL_DATE = " - ";
    public final static String SYMBOL_COMMA = ",";

    /***************************服务器相关*******************************************************************************/
    public final static String ACTIVE_PROFILE_CAT = "cat";
    public final static String DINGDING_AGENTID = "1144993634";
    public final static String DINGDING_APPKEY = "dingahs1rpg5wchyp0a0";
    public final static String DINGDING_APPSECRET = "olwN4bCpFV-HTxd5qQZdslyRRb4cbbmgGyo1jMTBPyFrXFwDUzKOLePta5Q788H0";
    /***************************java相关*******************************************************************************/
    public final static Integer DEFAULT_MAP_SIZE = 16;

    /***************************参数相关*******************************************************************************/
    public final static String PARAM_ERROR = "参数不规范";
    public final static String NO_REPEAT_SUBMIT = "noRepeatSubmit";
    public final static String NO_DATA = "无数据";

    /***************************redis相关*******************************************************************************/
    public final static String REDIS_DICT = "dict";
    public final static String REDIS_AUTH = "authenticationInformation";
    public final static String REDIS_MOBILE_CODE = "OA_MOBILE_CODE";

    public final static String REDIS_MOBILE_CODE_ERROR = "OA_MOBILE_CODE_ERROR";
    /*人事系统使用客户系统外部拓展接口 参数*/
    public final static String EXTERNALSERVICE = "cusExternalService";
    public final static String[] EMPLOYEECOLS = {"id","dept_id","cus_user_id","cus_dept_id"};
    public final static String[] EMPLOYEEROSTERCOLS = {"id","employee_id","dept_id","cus_user_id","cus_dept_id"};

    //redis失效时间以秒为单位
    public final static long ONE_MINUTE = 60 * 1;

    public final static long ONE_HOUR = 60 * 60 * 1;

    public final static long TWO_HOUR = 60 * 60 * 2;

    public final static long FOUR_HOUR = 60 * 60 * 4;
    public final static long EIGHT_HOUR = 60 * 60 * 8;
    public final static long TEN_HOUR = 60 * 60 * 10;

    public final static long ONE_DAY = 60 * 60 * 24;

    public final static long ONE_WEEK = 60 * 60 * 24 * 7;

    public final static long ONE_MONTH = 60 * 60 * 24 * 30;
    public static final String ERROR_1 = "菩提本无树,明镜亦非台,本来无一物,何处惹尘埃的意思";
    public static final Integer ZERO = 0;
    public static final String PC = "PC";
    public static final String TOKEN_HEADER = "ai3-token";
    public static final String SSO_AUTH_URL = "http://localhost/view/login";
    public static final CharSequence SYMBOL_SPACE = " ";
    public static final String SYMBOL_SPOT = "\\.";
    public static final String WILDCARD = "*.*.*";
    public static final String PROJECT_NAME = "aifast";
    public static final String PROJECT_NAME_UC = "AiFast";


    /***************************数据权限datascope相关*******************************************************************************/

    /**个人*/
    final static String DATA_SCOPE_PERSONAL = "1";
    /**部门*/
    final static String DATA_SCOPE_DEPARTMENT = "2";
    /**部门及部门以下*/
    final static String DATA_SCOPE_DEPARTMENT_AND_FOLLOWING = "3";
    /**自定义*/
    final static String DATA_SCOPE_CUSTOM = "4";
    /**所有*/
    final static String DATA_SCOPE_ALL = "5";

    /*签名*/
    public final static String SIGN_TEXT = "兵者o诡道也";
//    public final static String SIGN_KEY = "门朝大海，三河合水万年流";

    public final static String AUTH_PREFIX = "user:auth:info";

    /****************************bean参数******************************************************************************************/
    public static final String CUSEXTERNALSERVICE = "cusExternalService";
    public static final String HREXTERNALSERVICE = "hrExternalService";
    public static final String MSGTEMPLATESERVICE = "msgRemindService";
    public static final String MSGREMINDSERVICE = "msgRemindService";
    public static final String SHIROUTIL = "shiroUtil";
    public static final String SHIROUTIL_GETUSERID = "getUserId";
    public static final String SHIROUTIL_GETDEPTID = "getDeptId";
    public static final String SHIROUTIL_GETREALNAME = "getRealName";

    /****************************mysql字段参数******************************************************************************************/
    public static final String CREATED_TIME = "created_time";
    public static final String CREATED_BY = "created_by";

    /***************************数据库相关*******************************************************************************/
    /**
     * 业务员职位 id
     */
    public static final Integer SELLER_ID = 67;
    /**
     * 实习主管
     */
    public static final Integer INFORMAL_MANAGER_ID = 66;
    /**
     * 销售主管
     */
    public static final Integer SUPERVISOR_ID = 65;
    /**
     * 实习销售经理
     */
    public static final Integer SUPERVISOR_ID2 = 64;
    /***************************员工参数相关*******************************************************************************/

    /**
     * 普通
     */
    public final static String COMMON = "COMMON";
    /**
     * 管理层
     */
    public final static String MANAGER = "MANAGER";
    /**
     * 全部
     */
    public final static String ALL = "ALL";

    public final static String URL = "https://hr666.meifang.com/";
//    public final static String URL = "http://127.0.0.1/";

    /**
     * 系统运行目录
     */
    public static final String CURRTPATH = System.getProperty("user.dir")+"/";

    /**
     * 操作系统名称
     */
    public static final String OS_NAME = System.getProperty("os.name").toLowerCase();

    /***************************成本系统 参数相关*******************************************************************************/
    private static final String COST_DOMAIN = "https://cost666.meifang.com";
    public static final String URL_GET_MLE = COST_DOMAIN + "/api/Xcxcost/getMle";
    public static final String URL_GET_HKL = COST_DOMAIN + "/api/Xcxcost/getHkl";
    public static final String SIGN_KEY = "sign";
    public static final String SIGN_VALUE = "Mei6677Geili";


    /***************************常用手机号*******************************************************************************/

    public static final String MOBILE_WUSHUQUN = "13277862605";//吴舒群
    public static final String MOBILE_WUXIULAN = "18789285853";//吴秀兰：18789285853
    public static final String MOBILE_CHENHUANKANG = "19989754608";//陈焕康：19989754608
    public static final String MOBILE_WENSHUAIZHI = "13976006229";//文帅智：13976006229
    public static final String MOBILE_CHENJINYU = "17786989192";//陈金玉：17786989192
    public static final String MOBILE_LUYUE = "17786997306";//吕悦：17786997306


    /***************************spel*******************************************************************************/
    public static final String SPEL_RESULT = "result";
    public static final String SPEL_ERROR = "errorMsg";



}
